package com.console.operations.loanmgr;

import com.common.test.OperationBase;
import com.common.test.UITestBase;
import com.console.pages.LinkPage;

public class ClickLoanAuditLink extends OperationBase {
	
	public ClickLoanAuditLink(UITestBase tb){
		super(tb);
	}
	
	public void clickLink() throws Exception{
		switchToDefaultContent();
		LinkPage lp = new LinkPage(tb);
		waitForElementDisplayed(lp.loanManageLnk);
		lp.loanManageLnk.click();
		waitForElementExist(lp.loanAuditLnk);
		waitForElementDisplayed(lp.loanAuditLnk);
		lp.loanAuditLnk.click();
		pause(800);
		lp.loanAuditLnk.click();
		pause(1000);
	}
}
